<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <link href="/vite.svg" rel="icon" type="image/svg+xml"/>
    <meta content="width=device-width, initial-scale=1.0" name="viewport"/>
    <title>Vite + Vue + TS</title>
    <style>
        body {
            margin: 0;
        }

        .index-page-loading {
            width: 100vw;
            height: 100vh;
        }

        .flex-center {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* two-balls loading END */
        .three-balls-bounce {
            position: relative;
            width: 200px;
            height: 62px;
        }

        /* three-ball-bounce loading START */
        .three-balls-bounce .circle {
            width: 20px;
            height: 20px;
            position: absolute;
            border-radius: 50%;
            background-color: #409eff;
            left: 15%;
            transform-origin: 50%;
            animation: balls-circle 0.5s alternate-reverse infinite ease;
        }

        .three-balls-bounce .shadow {
            width: 20px;
            height: 4px;
            border-radius: 50%;
            background-color: rgba(0, 0, 0, 0.4);
            position: absolute;
            top: 62px;
            transform-origin: 50%;
            z-index: -1;
            left: 15%;
            filter: blur(1px);
            animation: balls-shadow 0.5s alternate-reverse infinite ease;
        }

        .three-balls-bounce .shadow:nth-child(4),
        .three-balls-bounce .circle:nth-child(2) {
            left: 45%;
            animation-delay: 0.2s;
        }

        .three-balls-bounce .shadow:nth-child(5),
        .three-balls-bounce .circle:nth-child(3) {
            left: auto;
            right: 15%;
            animation-delay: 0.3s;
        }

        @keyframes balls-circle {
            0% {
                top: 60px;
                height: 5px;
                border-radius: 50px 50px 25px 25px;
                transform: scaleX(1.7);
            }
            40% {
                height: 20px;
                border-radius: 50%;
                transform: scaleX(1);
            }
            100% {
                top: 0%;
            }
        }

        @keyframes balls-shadow {
            0% {
                transform: scaleX(1.5);
            }
            40% {
                transform: scaleX(1);
                opacity: 0.7;
            }
            100% {
                transform: scaleX(0.2);
                opacity: 0.4;
            }
        }
    </style>
</head>
<body>
<div id="app">
    <div class="index-page-loading flex-center">
        <div class="loading three-balls-bounce">
            <div class="circle"></div>
            <div class="circle"></div>
            <div class="circle"></div>
            <div class="shadow"></div>
            <div class="shadow"></div>
            <div class="shadow"></div>
        </div>
    </div>
</div>
<script src="/src/main.ts" type="module"></script>
</body>
</html>
